package org.example.sportdemo.mapper;

import org.example.sportdemo.entity.Ground;
import org.example.sportdemo.entity.Product;

import java.util.List;

public interface ProductMapper {

    List<Product> selectAll();

    Integer selectCount();

    void addProduct(Product product);

    Product selectById(Integer id);

    void updateProduct(Product product);

    void deleteByIds(Integer[] ids);

    List<Product> selectForHot();
}
